import functools

from flask import (
    Blueprint, flash, g, redirect, render_template, request, session, url_for
)

bp = Blueprint('auth', __name__, url_prefix='/auth')


@bp.route('/register', methods=('GET', 'POST'))
def register():
    username = "";
    password = "";
    if request.method=="GET":
        username = request.args["u"]
        password = request.args['p']
    return f"auth-001  - {username},{password}"